<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>红包活动列表-营销型红包活动小红包详情</title>
<link href="/electriccar/Public/admin/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/electriccar/Public/admin/js/jquery.js"></script>
</head>

<body style="min-width: 800px;">

    <div class="formbody">
		
		<table class="tablelist">
			<thead>
				<tr>
					<th><input name="" type="checkbox" value="" /></th>
					<th>编号</th>
					<th>小包金额</th>
					<th>领取人ID</th>
					<th>领取时间</th>
				</tr>
			</thead>
			<tbody>
				<?php if(is_array($listinfo)): $i = 0; $__LIST__ = $listinfo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$bonus): $mod = ($i % 2 );++$i;?><tr>
					<td><input name="" type="checkbox" value="" /></td>
					<td><?php echo ($bonus["bonus_id"]); ?></td>
					<td><?php echo ($bonus["bonus_money"]); ?></td>
					<td><?php if($bonus["user_id"] > 0 ): echo ($bonus["username"]); ?>(ID:<?php echo ($bonus["user_id"]); ?>)<?php else: ?>----<?php endif; ?></td>
					<td><?php if($bonus["bonus_gettime"] > 0 ): echo (date("Y-m-d H:i:s",$bonus["bonus_gettime"])); else: ?>----<?php endif; ?></td>
				</tr><?php endforeach; endif; else: echo "" ;endif; ?>
			</tbody>
		</table>

    </div>
<script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
</script>
</body>

</html>